//创建store
import {createStore,combineReducers} from  "redux";
import {cartReducer} from "./cartReducer";

//redux 定义状态 
const initialState = {
  
};

//redux 修改状态
const rootReducer = combineReducers({
  cartReducer
})


const store = createStore(rootReducer,initialState);
export default store;